package com.ruoyi.base.domain;


import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class TreeNode<T> {

    private String id;

    private String name;

    private String parentId;

    private Boolean leaf;

    private List<TreeNode> children;

    private T model;

}
